import { getI18n } from 'react-i18next';
import i18n from './locale/useTran';

export const a = {
  name: () => i18n.t('total.hello'),
  name_a: () => i18n.t('total.name', { name: '测试ts' }),
  name1: () => getI18n().t('total.hello'),
  name1_a: () => getI18n().t('total.name', { name: '测试ts' }),
};
